home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d7 / cenmodj.arc / CENMODJ.DOC < prev    next >
Text File  |  1991-09-21  |  12KB  |  290 lines

  1.           CENMODJ JMODEM ADD ON FOR YOUR COMMUNICATIONS
  2.  
  3. A small compact Program To Call Jmodem Form Your Communication 
  4. Program in Windows. Written By George M. Cheney, Sysop, Centrox BBS,
  5.  
  6. P.O. Box 14014, Odessa, Texas, 79761-1401.  Centrox is a 24 hour a 
  7. day Bulletin Board, Phone (915)332-4256. 
  8.  
  9. FIRST THE LEGAL STUFF:
  10.  
  11. The author, George M. Cheney makes no warranties or any other
  12. representations as to the usefulness of CenmodJ for any purpose.  
  13. I am not responsible for  damages to equipment, loss of time, loss 
  14. of data, or any other loss resulting from the use of this program. 
  15.  
  16. Anyone using this program does so at their own risk.  While the 
  17. program has been thoroughly tested, I make no representations as 
  18. to the performance or fitness of this program for any useful or 
  19. un-useful purpose declared or not declared. 
  20.  
  21. WHAT EXACTLY IS CENMODJ?
  22.  
  23. CENMODJ is a very small, neat program to allow Jmodem to be used 
  24. with Telix and Windows.  I love Jmodem.  It is fast, efficient, 
  25. and easy to call. I also like Windows 3.0.  And I like Telix.  
  26. Telix runs well in Windows 386 Enhanced mode, but when I try to 
  27. call Jmodem as an external protocol, Jmodem will load and download 
  28. the file, then I get a memory error and have to reboot my 
  29. computer.  There is a conflict between Windows, Telix, and Jmodem. 
  30. One day while servicing a computer in the field I needed a file 
  31. and did not have a full blown communications program.  I had 
  32. written a small program called Cencom.Exe in Basic and that's all 
  33. I had.  I also had the Jmodem protocol.  So I opened a Window in 
  34. the customer's machine and called my BBS to get the file I needed. 
  35.  
  36. I shelled from Cencom and downloaded the file.  No problems.  I 
  37. came home and started to experiment.  Cencom would work every 
  38. time.  Telix would not work at all.  So I wrote a small program 
  39. that did exactly what Cencom did, and passed the parameters to 
  40. Jmodem.  I call this from Telix and now I have Windows, Telix, and 
  41. Jmodem back.  It works every time.  IF Jmodem and your com program 
  42. won't run under Windows, this might work for you.
  43.  
  44.  
  45. INSTALLING CENMODJ
  46.  
  47. First is the question of where to put CENMODJ.EXE, and 
  48. Cenmodj.dat. Actually you can put the CenmodJ.exe and the dat file
  49. almost anywhere you want to. <Grin>  It will run just fine off a 
  50. 360 K floppy.  I would suggest if you have a hard drive you put in 
  51. in your Communications Directory.  Ie: C:\TELIX  Then you must 
  52. configure the CENMODJ.DAT file to match your set up.  The 
  53. configuration is as follows, and must not contain any blank lines 
  54. or spaces.  You must use an ascii text editor such as Qedit or 
  55. Windows Notepad.  Your Set up might look something like the 
  56. following:
  57.  
  58.  
  59.                                -2-
  60.  
  61. 2           ' Comport you are using 1 or 2
  62. 2400        'Speed to 56,400
  63. C:\RECV\    'Download Directory With The backslash
  64. C:\SEND\    'Uload Directory With The Backslash 
  65. TRUE        'Weather Your Local System Can Do Color If Not FALSE 
  66.  
  67. Cenmodj has been tested to 2400 baud, but I see no reason why it 
  68. will not work at higher baud rates as Cencom does.  The shareware 
  69. version only supports com 1 and 2, but the registered version will 
  70. support 3 and 4 if you specify that it is needed.  It was written 
  71. on a VGA monitor, but should work on any monitor.  If not please 
  72. advise and I will fix the problem.  Please take a minute to be 
  73. sure that your Cenmodj.dat file is correct, and save it.  
  74. Now you are ready to test it. <Grin>
  75.  
  76.  
  77. RUNNING CENMODJ ON LINE
  78.  
  79. Call your favorite BBS and log on.  When you get ready to download 
  80. a file push ALT-V and type CENMODJ.  A screen will open and you 
  81. can see the comport, path, speed, ect from the Cenmodj.dat file.
  82. You will be presented with a little menu that gives you three 
  83. choices as follows:
  84. 1} Send File With Jmodem Protocol
  85. 2} Download A File With Jmodem Protocol
  86. 3} Exit Cenmodj And Return To Your Communications Program
  87.  
  88. Pick the desired choice and you will be prompted for a filename.  
  89. Sorry but I did not want to let the offending program pass 
  90. anything to CenmodJ.  Then you will see the Jmodem command line, 
  91. exactly as it will be passed to Jmodem. In The download mode you 
  92. will be asked if you want to add another file (1=Y/2=N).  You may 
  93. add up to six files.  In the upload mode there is only provision 
  94. for one file as most BBS's allow only one Jmodem upload.  Then 
  95. CenmodJ will shell calling Jmodem and Jmodem will download or 
  96. upload your file(s).  That's all there is to it.  Good luck and 
  97. enjoy Windows, Telix, And Jmodem. 
  98.  
  99. SOME VERY COMMON PROBLEMS: 
  100.  
  101. CenmodJ will not load, gives me an error message. 
  102.  
  103. One of several things could be wrong.  Cenmodj can't find the 
  104. Cenmodj.dat file.  Be sure that they are in the same 
  105. directory. Or you have an error in the Cenmodj.dat file.  Or 
  106. possibly Cenmodj can't find your Command.Com.  Or you have not set 
  107. aside any files or buffers in your CONFIG.SYS files.  Most likely 
  108. you are having problems with other programs as well.  Go to your 
  109. C:\ prompt (A:\ if running floppies) and type the following: 
  110. Also you may rename CenmodJ.exe to anything you wish, but must not 
  111.  
  112.  
  113.                                -3-
  114. change the name of Cenmodj.dat.  If you still have problems try 
  115. the following
  116.  
  117. TYPE AUTOEXEC.BAT 
  118.  
  119. Your computer should show you the Autoexec.Bat.  In the Bat should 
  120. be a statement saying "SET COMSPEC=C:\COMMAND.COM".  This tell DOS 
  121. where to find your COMMAND.COM.  If DOS can't find COMMAND.COM you 
  122. will have big troubles every time I promise.  Additionally 
  123. COMMAND.COM must be where you tell DOS it is.  If you do not have 
  124. COMMAND.COM in the C:\ root directory, the SET COMSPEC is of no 
  125. value.  If you are running floppies, substitute A:\ for C:\. 
  126.  
  127. Next check the CONFIG.SYS file.  Again type the following:
  128.  
  129. TYPE CONFIG.SYS
  130.  
  131. First you should find a statement that says "FILES=30", and 
  132. following "BUFFERS=20".  The "=##'s are changeable, but I would 
  133. like to take the opportunity to make a few comments.  In early day 
  134. DOS was very limited, and a "FILES=10" statement was sufficient.  
  135. As programs became more and more complex, DOS was called upon to 
  136. open more and more FILES and BUFFERS.  File headers and buffers 
  137. are the heart of most wordprocessors and communication protocols.
  138. I personally consider "FILES=30" to be an absolute minimum.  I use
  139. "FILES=50".  The "BUFFERS=20" is also about standard.  A small 
  140. amount of memory is insignificant when faced with a possible crash 
  141. or program failure.  I know a local SYSOP that does not follow the 
  142. my thinking.  He uses lower values.  His BBS often crashes.  I 
  143. wonder why?? 
  144.  
  145. Next look for a statement that says "SHELL=C:\DOS\COMMAND.COM" 
  146. Also there might be an "/P /E:512" statement included.  If you are 
  147. getting an "OUT OF ENVIRONMENT MESSAGE" when loading a protocol, 
  148. add the above "/P /E:512" statement to the 
  149. "SHELL=C:\DOS\COMMAND.COM" statement, therefore making it 
  150. "SHELL=C:\DOS\COMMAND.COM /P /E:512"  To explain in brief DOS 
  151. assigns an area of memory to keep track of what is happening, what 
  152. files are open, what buffers are being used, and so forth.  The 
  153. default value is 132, if memory serves me right.  When you SHELL 
  154. you load a second copy of COMMAND.COM into memory.  You may not 
  155. have enough environment to hold any additional commands.  The "/P 
  156. /E:512" statement tells DOS to expand the default to 512 bites and 
  157. keep a second copy of COMMAND.COM in memory just for SHELL 
  158. purposes.  Additionally I like to keep two copies of COMMAND.COM 
  159. handy, one in my root and one in my DOS directory.  Some simple 
  160. comments to avoid some serious problems. <GRIN> 
  161.  
  162. TECHNICAL SUPPORT FOR CENMODJ
  163.  
  164. If after reading all this you are still having problems, please 
  165. feel free to call my Public BBS, Centrox BBS (915)-332-4256 and 
  166. leave me a comment, (C) from almost any Menu.  Standard Access is 
  167. free.  IMPORTANT NOTE:  Please do not start your comment with 
  168. "HEY"  Hey is a consumable food for horses, not a way to address
  169.  
  170.                                -4-
  171. poor SYSOP's that work very hard to bring you a free bulletin 
  172. board, free programs and free help.  Not to mention the dedication 
  173. of a computer, modem, hard drive, registered software, and much 
  174. more for your enjoyment.  I usually delete messages starting with 
  175. "HEY". <GRIN>  Any other message format will bring a quick and 
  176. sincere reply, and I will try to resolve your problem.
  177.  
  178. LICENSE AND REGISTRATION:
  179.  
  180. CENMODJ is marketed as "SHAREWARE".  That means that you may try 
  181. it before you buy it.  You are hereby granted a limited license to 
  182. use Cenmodj for a period of 90 days.  At the end of that time you 
  183. should either register, or discontinue it's use.  Failure to do so 
  184. has been known to cause anxiety and guilt.  Registration is $7.50, 
  185. US funds only.  You will get a custom compiled copy of Cenmodj 
  186. which will include your personal name in the first window.  I will 
  187. make your registered copy of CENMODJ available on my BBS for free 
  188. download using the (K) option from the File Menus, or for an 
  189. additional $3.50 I will mail you a disk with your registered 
  190. version on it.  To Order fill out the order form and mail to the 
  191. address indicated.  Thank You For Your Support.  Look for future 
  192. releases of SHAREWARE and PUBLIC DOMAIN from George Cheney on 
  193. Centrox and other BBS's. 
  194.  
  195. OTHER SAHREWARE FROM GEORGE M. CHENEY
  196.  
  197. CENSAVE.ZIP   Screen saver with your name on it. 
  198. CENPAS.ZIP    Password Protection 
  199. CENSAVE2.ZIP  Password Protection And Screen Saver            
  200. CENMODJ.ZIP   Neat Timed Event Tool For When You Can't Be There 
  201. CENCOM.ZIP    Small Communications Program 57 K 
  202. CENSEC.ZIP    Spitfire BBS Utility To Check Ratios 
  203. CENMODJ.ZIP   Add Jmodem To Telix Under Windows 
  204.  
  205.  
  206. Short Technical Note:
  207.  
  208. Cenmodj initializes the comport using the default buffer size set 
  209. up in Windows.  (128)  It does it's own initialization routine, 
  210. resetting the xon/off, cts and other parameters.  The set up from 
  211. your communications program are null and void.  Then when CenmodJ 
  212. exits is attempts to return control to your Communications program 
  213. and leave the modem just as it found it.  It will not under any 
  214. circumstances hang up the modem.  Why it is necessary to reform 
  215. the modem under Windows is not known to me, since I have no way of 
  216. knowing what Telix does to the modem or buffers.
  217.  
  218. Reference/Credits
  219.  
  220. Windows           Microsoft Corporation
  221. Telix             Exis Inc.   
  222. Spitfire          Buffalo Creek, Mike Woltz
  223. Jmodem            Richard B. Johnson
  224.  
  225.  
  226. To Register CENMODJ Please Fill Out The Following And Mail To: 
  227.  
  228.                       Centrox BBS         
  229.                      P.O. Box 14014         
  230.                 Odessa, Texas 79768-4014         
  231.                Attention: George M. Cheney 
  232.  
  233.  
  234. Your Name:
  235. Address:
  236. City:
  237. State:
  238. Zip Code:
  239.  
  240. Phone Number (Optional) in case 
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251. CENMODJ Registration:   $7.50 Centrox BBS Delivery No Charge 
  252. Postage if you want it mailed with disk   $3.50 Total 
  253. Enclosed--------------------------                           
  254.         
  255.  
  256. Please allow a maximum of one week for shipment.  If you 
  257. want to Download your copy, please allow three days from receipt 
  258. of order.  I am not responsible for delays beyond my control.
  259.  
  260.  
  261.  
  262.  
  263.  
  264. Disk Size (3 1/2)  Or (5 1/2) Circle One
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.      
  286.  
  287.  
  288.  
  289.  
  290.